import Layout from "../../layouts/index.vue"
export default {
    path: "/readers",
    name: "readers",
    redirect: "/readerslist",
    component: Layout,
    meta: {
        title: "读者管理"
    },
    children: [
        {
            path: "/readerslist",
            name: "readerslist",
            component: () => import("../../views/readers/user/list/index.vue"),
            meta: {
                title: "读者列表"
            },
        },
        {
            path: "/readersdetailed",
            name: "readersdetailed",
            component: () => import("../../views/readers/user/detailed/index.vue"),
            meta: {
                hidden: true,
                title: "读者详情"
            },
        },
        {
            path: "/borrowdetailed/:id",
            name: "borrowdetailed",
            component: () => import("../../views/readers/detailed/index.vue"),
            meta: {
                hidden: true,
                title: "借阅详情"
            },
        },
    ]
}